function [  ] = render( field, path, obj_ref)

maxField = max(field);
field = field ./ maxField;


%[path, id] = getPathAndId4DataType( kTYPE );
%featPoints = featurePoints( averageStrain, neighborhood, adjVertList, id, kTRESHOLD );
path = [path '.ply'];
colors = colorForField( field, -2 );
%{
pinkColor = [255 0 255];
for i = 1:nFP 
    if ( notEmpty )
        colors( featPoints(1, i), :) = pinkColor;
    end % if
end % FOR
outDir = '../../target/';
path = [outDir id '.ply'];
%}
exportPLY( path, obj_ref.vertices, colors, obj_ref.faces, 0 );

end

